// 2025/9/24
// 间写单词

#include <iostream>
using namespace std;

int main() {
    string ans, tmp;
    while(cin >> tmp)
    {
        char first = tmp.front();
        if('a' <= first && first <= 'z')
            first += 'A' - 'a';
        
        ans += first;
    }
    cout << ans;
}
// 64 位输出请用 printf("%lld")